package com.sanji.sjmallconfig;

import android.Manifest;

import java.io.File;

/**
 * 常量类
 * Created by zsf on 16-12-8.
 */

public class ConfigConts {
    public static String ScreenWidth = "screenWidth";//手机屏幕的宽度
    public static String ScreenHight = "screenHight";//手机屏幕的高度
    public static String USER_NAME = "userName";//用户名
    public static String USER_PASSWORD = "userPassword";//用户密码
    public static String IS_REMERBER = "isRemember";//是否记住密码
    public static String USERS_CORE = "userScore";//用户积分
    public static String USER_ID = "userId";//会员id
    public static String TRUE_NAME = "trueName";//会员真实姓名
    public static String ACCOUNT = "account";//会员登录账号
    public static String MOBILE = "mobile";//手机号
    public static String ID_CARD = "idCard";//身份证号
    public static String IsRefresh = "isRefresh";//购物车是否刷新
    public static String SUCCESSMSG = "successMsg";//成功的信息
    public static String ERRORMSG = "errorMsg";//失败的信息
    public static String STATUS_STRING = "status";//信息的状态
    public static String STATUS_SUCCESS = "SUCCESS";//成功的状态
    public static String STATUS_ERROR = "ERROR";//失败的状态
    public static String ADDRESS_STR = "addressStr";//详细地址
    public static String PROVINCIAL_ID = "provincialID";//省市区
    public static String CITY_ID = "cityID";//地级市id
    public static String REGION = "region";//省市区
    public static String AREA_ID = "areaID";//县级市id
    public static String ZIP = "zip";//邮编
    public static String MULTIPLE_PHONE = "multipel_phone";//综合搜索手机
    public static String MULTIPLE_PART = "multipel_part";//综合搜索配件

    public static String MACHINE_PHONE = "lj";//智能机
    public static String MACHINE_TABLE = "pb";//平板
    public static String MACHINE_LIFE = "bxjx";//智能生活
    public static String MACHINE_STORE = "dz";//移动便利店
    public static String MACHINE_PARET = "accessory";//配件

    public static String FARE_PHONE_NUM = "farePhoneNum";//手机的个数
    public static String FARE_PHONE_PRICE = "farePhonePrice";//手机的限额
    public static String FARE_PARTS_NUM = "farePartsNum";//配件的个数
    public static String FARE_PARTS_PRICE = "farePartsPrice";//配件的限额
    public static String FARE_COST = "fareCost";//运费


    public static String ACTION_FRAGMENT_PAGER = "action_fragment_pager";//修改fragment显示

    //所需的危险权限
//    public static String[] PERMISSIONS = new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE,
//            Manifest.permission.READ_PHONE_STATE,Manifest.permission.ACCESS_FINE_LOCATION};

    public static String PERMISSION_EXTERNAL_STORAGE = Manifest.permission.WRITE_EXTERNAL_STORAGE;


    public static final int UI_EVENT_BASE = 0x100;
    //相机拍照
    public static final int PHOTO_REQUEST_TAKEPHOTO = UI_EVENT_BASE + 3;
    //相册
    public static final int PHOTO_REQUEST_GALLERY = UI_EVENT_BASE + 4;
    //裁剪
    public static final int PHOTO_REQUEST_CUT = UI_EVENT_BASE + 5;
    //压缩成功
    public static final int PHOTO_ZOOM_SUCCESS = UI_EVENT_BASE + 6;
    //压缩失败
    public static final int PHOTO_ZOOM_FALSE = UI_EVENT_BASE + 7;
    //取消
    public static final int PHOTO_REQUEST_CANCEL = UI_EVENT_BASE + 8;
    //购物车编辑
    public static final int ACTION_SHELL_CART_EDIT = UI_EVENT_BASE + 9;
    //手机壳支付
    public static final int ACTION_ALIPAY_RESULT = UI_EVENT_BASE + 10;
    //支付后购物车刷新
    public static final int ACTION_ALIPAY_REFRESH = UI_EVENT_BASE + 11;
}
